feat(argocd): design prototype#2531
Draft
TheoGrandin74 wants to merge 218 commits into
Draft
Conversation
* feat: add navbar and init layout * feat: start breadcrumb and update all popover and dropdown menu colors * feat(new-nav): add basis for routing (#2206) feat: add basis for routing --------- Co-authored-by: Romain Billard <rmnbrd@users.noreply.github.com>
Update Dockerfile and package.json for console-v5 build and preview commands
feat: add login route
* Init organization overview * Add webflow libraries
* feat: add basis for authentication * chore: rename orgId to organizationId * fix: glitch when switching routes * impr: cleaning up auth-redirect component * fix: import statements
impr: add logout button and better redirection
…d sections (#2238) feat(organization-overview): add first part of sections
* feat(navigation): add general layout (#2110) * feat: add navbar and init layout * feat: start breadcrumb and update all popover and dropdown menu colors * feat(new-nav): add basis for routing (#2206) feat: add basis for routing --------- Co-authored-by: Romain Billard <rmnbrd@users.noreply.github.com> * feat(organization-overview): first part production health cluster * fix(routes): routeTree.gen.ts * Add feedback * Remove useless file --------- Co-authored-by: Romain Billard <rmnbrd@users.noreply.github.com>
* feat(cluster-card): token * feat(organization-navigation): implement dynamic navigation context and refactor organization route * feat(routes): add audit logs and cluster settings routes, update breadcrumbs for cluster navigation
… service components (tanstack not compatible)
* feat(routes): add cluster logs and settings routes, refactor organization route structure and navigation components * fix(cluster-overview): card colors * fix(cluster-overview): table colors * fix(cluster-setup-modal): update text colors and improve layout consistency * fix(cluster-access-modal): add new token * fix(cluster): update token overview * Enhance layout consistency in cluster overview components * fix: some tests
* feat(sidebar): add new component deprecated navigation-left * feat(sidebar): add new component
* feat(cluster-logs): init new row with token * feat(routes): update route tree and add layout configuration - Refactored route imports in `routeTree.gen.ts` to include new routes and improve organization. - Introduced `route-layout-config.ts` to manage layout options for routes. - Enhanced `OrganizationRoute` to conditionally apply full-width layout based on route context. - Updated `ClusterLogs` component to include scrolling behavior and improved layout handling. - Added new components for cluster log rows and headers with associated tests. * fix(cluster-logs): adjust scroll behavior and layout improvements - Updated scroll behavior to include additional padding for better visibility of logs. - Enhanced layout structure by modifying the component hierarchy for improved responsiveness. - Adjusted styling for the log header and container to ensure consistent appearance across different states.
* feat(cluster): add general settings * refactor(routes): update route tree and improve organization of authenticated routes - Refactored route imports in `routeTree.gen.ts` to include new routes for login and organization settings. - Enhanced `ClusterGeneralSettingsForm` component by separating it from the main route component for better readability and maintainability. - Updated form handling logic to simplify the submission process and improve user experience.
* feat(cluster): add credentials settings - Added a new form for managing cluster credentials in the `credentials.tsx` file, improving user interaction with cloud provider credentials. - Updated the `general.tsx` file to enhance the layout and user experience of the general settings form. - Refactored the `route.tsx` file to improve the sidebar layout and ensure consistent styling. - Enhanced the `ClusterCredentialsSettingsFeature` to utilize the correct `useParams` hook for better parameter handling. * feat(cluster-settings): enhance sidebar links based on cluster type - Introduced dynamic sidebar links in the settings route based on the cluster's cloud provider and Kubernetes management type. - Added a new link for EKS Anywhere configuration when applicable. - Refactored the sidebar link structure for improved readability and maintainability. - Integrated feature flag for EKS Anywhere to conditionally display relevant settings. * refactor(link): update link styles and improve consistency - Modified link component styles to enhance visual consistency across the application. - Updated color classes for better alignment with design standards. - Adjusted snapshot tests to reflect the new styling changes. * refactor(routes): update route imports and enhance organization - Refactored route imports in `routeTree.gen.ts` to include additional routes for login and organization settings. - Improved the structure and readability of the route definitions. - Updated the link component styles to include a gap between items for better visual consistency.
* fix(sticky): ensure dropdown overlays above sticky header * feat(z-index): introduce z-index variables and apply them across modal and header components - Added z-index variables for header, dropdown, overlay, modal, tooltip, and toast in main.scss. - Updated tailwind-workspace-preset.js to include new z-index values. - Refactored modal and header components to utilize the new z-index variables for improved layering and visibility. * feat(sidebar): implement keyboard navigation for focusable elements - Added keyboard navigation support in the Sidebar component to allow users to navigate through focusable elements using ArrowUp and ArrowDown keys. - Refactored the SidebarRoot component to include a handleKeyDown function that manages focus based on keyboard input. * refactor(breadcrumbs): reorder class names for consistency and improve z-index usage
* feat(cluster): add danger-zone settings * refactor(header): adjust z-index for dropdown menu and header layout
* feat(organization-overview): add webflow changelog section (#2230) * Init organization overview * Add webflow libraries * feat(organization-overview): changelog, links + draft project and prod sections (#2238) feat(organization-overview): add first part of sections * feat(cluster): implement advanced settings for clusters - Added a new component for managing advanced cluster settings, allowing users to view and edit settings with validation. - Integrated form handling using react-hook-form for better state management and user experience. - Included tests for the new advanced settings component to ensure functionality and reliability. - Updated routing to accommodate the new advanced settings page and adjusted sidebar links accordingly. - Enhanced UI components for better styling and consistency across the application. * refactor(tests): simplify ClusterAdvancedSettings tests with wrapWithReactHookForm * Add comment for complex advanced settings logic
* feat(main): integrate PostHog for analytics trackingt * feat(eks-anywhere): add EKS Anywhere settings page - Introduced a new route for managing EKS Anywhere cluster settings. - Implemented form handling using react-hook-form for state management. - Added loading states and error handling for cluster data retrieval and editing. - Enhanced UI with a settings heading and a submit button for saving changes. * refactor(ui): update spacing and text color in cluster overview and EKS settings - Adjusted margin classes in the ClusterOverview component for consistent spacing. - Updated text color classes in the ClusterEksSettings component for improved readability and design consistency. - Enhanced sidebar item layout by wrapping icons in a span for better alignment and styling.
* feat(cluster): add image registry page * feat(cluster): add network settings page and refactor routing * refactor(cluster-network-settings): update styling for AWS and GCP existing VPC components for improved colors token * refactor(container-registry-form): update tokens * refactor(settings): adjust sidebar height for improved layout consistency
* Add new tokens with tailwind alias config * Add toggle theme and new app console-v5 * feat(navigation): add general layout (#2110) * feat: add navbar and init layout * feat: start breadcrumb and update all popover and dropdown menu colors * feat(new-nav): add basis for routing (#2206) feat: add basis for routing --------- Co-authored-by: Romain Billard <rmnbrd@users.noreply.github.com> * Update Dockerfile and package.json for console-v5 (#2225) Update Dockerfile and package.json for console-v5 build and preview commands * fix(new-nav): update router and its layouts (#2227) feat: add login route * feat(organization-overview): add webflow changelog section (#2230) * Init organization overview * Add webflow libraries * feat(new-nav): add authentication (#2232) * feat: add basis for authentication * chore: rename orgId to organizationId * fix: glitch when switching routes * impr: cleaning up auth-redirect component * fix: import statements * impr(new-nav): add logout button and better redirection (#2237) impr: add logout button and better redirection * feat(organization-overview): changelog, links + draft project and prod sections (#2238) feat(organization-overview): add first part of sections * fix(new-nav): auth context (#2239) * feat(organization-overview): start production health cluster (#2242) * feat(navigation): add general layout (#2110) * feat: add navbar and init layout * feat: start breadcrumb and update all popover and dropdown menu colors * feat(new-nav): add basis for routing (#2206) feat: add basis for routing --------- Co-authored-by: Romain Billard <rmnbrd@users.noreply.github.com> * feat(organization-overview): first part production health cluster * fix(routes): routeTree.gen.ts * Add feedback * Remove useless file --------- Co-authored-by: Romain Billard <rmnbrd@users.noreply.github.com> * feat(badge): update token (#2245) * feat(cluster): starting views (#2249) * feat(cluster-card): token * feat(organization-navigation): implement dynamic navigation context and refactor organization route * feat(routes): add audit logs and cluster settings routes, update breadcrumbs for cluster navigation * refactor(routes): remove pathname state from links in environment and service components (tanstack not compatible) * feat(cluster): add overview (#2253) * feat(routes): add cluster logs and settings routes, refactor organization route structure and navigation components * fix(cluster-overview): card colors * fix(cluster-overview): table colors * fix(cluster-setup-modal): update text colors and improve layout consistency * fix(cluster-access-modal): add new token * fix(cluster): update token overview * Enhance layout consistency in cluster overview components * fix: some tests * feat(sidebar): add new component for navigation (#2259) * feat(sidebar): add new component deprecated navigation-left * feat(sidebar): add new component * feat(cluster-logs): add new view (#2260) * feat(cluster-logs): init new row with token * feat(routes): update route tree and add layout configuration - Refactored route imports in `routeTree.gen.ts` to include new routes and improve organization. - Introduced `route-layout-config.ts` to manage layout options for routes. - Enhanced `OrganizationRoute` to conditionally apply full-width layout based on route context. - Updated `ClusterLogs` component to include scrolling behavior and improved layout handling. - Added new components for cluster log rows and headers with associated tests. * fix(cluster-logs): adjust scroll behavior and layout improvements - Updated scroll behavior to include additional padding for better visibility of logs. - Enhanced layout structure by modifying the component hierarchy for improved responsiveness. - Adjusted styling for the log header and container to ensure consistent appearance across different states. * fix(tokens): update callout & progress-bar components * feat(cluster): add general settings (#2264) * feat(cluster): add general settings * refactor(routes): update route tree and improve organization of authenticated routes - Refactored route imports in `routeTree.gen.ts` to include new routes for login and organization settings. - Enhanced `ClusterGeneralSettingsForm` component by separating it from the main route component for better readability and maintainability. - Updated form handling logic to simplify the submission process and improve user experience. * feat(cluster): add credentials settings (#2268) * feat(cluster): add credentials settings - Added a new form for managing cluster credentials in the `credentials.tsx` file, improving user interaction with cloud provider credentials. - Updated the `general.tsx` file to enhance the layout and user experience of the general settings form. - Refactored the `route.tsx` file to improve the sidebar layout and ensure consistent styling. - Enhanced the `ClusterCredentialsSettingsFeature` to utilize the correct `useParams` hook for better parameter handling. * feat(cluster-settings): enhance sidebar links based on cluster type - Introduced dynamic sidebar links in the settings route based on the cluster's cloud provider and Kubernetes management type. - Added a new link for EKS Anywhere configuration when applicable. - Refactored the sidebar link structure for improved readability and maintainability. - Integrated feature flag for EKS Anywhere to conditionally display relevant settings. * refactor(link): update link styles and improve consistency - Modified link component styles to enhance visual consistency across the application. - Updated color classes for better alignment with design standards. - Adjusted snapshot tests to reflect the new styling changes. * refactor(routes): update route imports and enhance organization - Refactored route imports in `routeTree.gen.ts` to include additional routes for login and organization settings. - Improved the structure and readability of the route definitions. - Updated the link component styles to include a gap between items for better visual consistency. * fix(sticky): ensure dropdown overlays above sticky header (#2269) * fix(sticky): ensure dropdown overlays above sticky header * feat(z-index): introduce z-index variables and apply them across modal and header components - Added z-index variables for header, dropdown, overlay, modal, tooltip, and toast in main.scss. - Updated tailwind-workspace-preset.js to include new z-index values. - Refactored modal and header components to utilize the new z-index variables for improved layering and visibility. * feat(sidebar): implement keyboard navigation for focusable elements - Added keyboard navigation support in the Sidebar component to allow users to navigate through focusable elements using ArrowUp and ArrowDown keys. - Refactored the SidebarRoot component to include a handleKeyDown function that manages focus based on keyboard input. * refactor(breadcrumbs): reorder class names for consistency and improve z-index usage * feat(cluster): add danger-zone settings (#2272) * feat(cluster): add danger-zone settings * refactor(header): adjust z-index for dropdown menu and header layout * feat(cluster): add resources settings (#2271) * feat(new-nav): add onboarding views * feat(new-nav): add plans and project onboarding views * feat: add accept-invite route * post-review fixes * impr: post-review fixes * fix: post-review fixes part 1 * impr: move accept-invite to onboarding lib * impr: get rid of the onboarding pages * fix: accept-invitation page * impr: remove useless chargebee utility functions * impr: update tokens * fix: add missing redirection after logging in with a brand new account --------- Co-authored-by: RemiBonnet <bonnet.rem@gmail.com>
feat(header): add user-menu dropdown
* feat(cluster): add cluster new page * refactor(section-production-health): replace Button with Link for cluster creation in EmptyState component
…adding filters (#2537) * fix(audit-logs): fix tokenization issues and small visual jumps when adding filters * refactor(audit-logs): enhance RowEvent component layout for better responsiveness * style(audit-logs): fix target column offset and selection issues on code editor * style(table): update button sizes and add font styling for improved UI consistency
#2538) * feat(environment): add version dropdown to env deployment details view * UI tweak
fix(console-v5): attach copilot auth header
…g redirect paths (#2541) * fix(login): ensure safe redirection after authentication by validating redirect paths * feat(application-container-port-settings): add new modal for port settings and update import paths
* feat(new-nav): add "Terraform configuration" settings section * Update failing unit tests * Fix outdated import statements * Enhance accessibility: add aria-label to edit button in CodeEditorInlineSetting component * Update snapshot: add ARIA label to Edit Commands * Post-review UI fixes * Fix outdated snapshots
* feat(new-nav): add "Terraform configuration" settings section * Update failing unit tests * Fix outdated import statements * Enhance accessibility: add aria-label to edit button in CodeEditorInlineSetting component * Update snapshot: add ARIA label to Edit Commands * Post-review UI fixes * Fix outdated snapshots
…actions (#2548) * refactor(service-access-modal): added "Access info" entry in the service actions * refactor(service-actions): format check
…e environment (#2544) * fix(deployment-logs): rendering history by service id not all from the environment * fix(deployment-logs): update deployment logs placeholder and improve icon rendering * fix(deployment-logs): add loading state with placeholder during log retrieval * fix(deployment-logs): adjust loading states and improve deployment history handling * fix(deployment-logs): change download button size from medium to small for better UI consistency * fix(environment-logs): update styling and improve service item rendering in pipeline component * fix: test * refactor(environment-logs): remove hideSkipped state and related logic from pipeline and stages components * refactor(environment-logs): remove unused hideSkipped props from environment stages feature * refactor(environment-logs): remove EnvironmentStagesFeature and related tests from environment logs
* feat(new-nav): add "Terraform arguments" settings page * Refactor TerraformArgumentsSettings into content component
* feat(new-nav): add Terraform variables settings page * feat(new-nav): add Terraform variables settings page * Fix import statements in unit tests * Update color tokens used in the variables table * Add TerraformVariablesSettingsForm component * Post-review UI fixes * More UI tweaks * Improve tfvars popover drag&drop color tokens * UI: add min-h to table's loading and empty states to avoid glitch * Pass down service as prop to avoid extra condition on serviceType
Remove ScrollShadowWrapper usage Use a div with max-h-[300px] in TfvarsFilesPopover instead of ScrollShadowWrapper Remove the hideSides prop and always render the top and bottom scroll shadows in ScrollShadowWrapper
…al consistency (#2543) * feat(service-avatar): enhance ServiceAvatar component with customizable radius and update related components * refactor(service-icon): remove unused functions and simplify icon class name retrieval in service-new component * refactor(service-icon): rename and restructure ServiceIcons for improved clarity and type safety * fix(service-icon): add className for Bash icon to support dark mode styling
…ironment overview with ArgoCD service handling
…te environment action modals for improved user experience
c2c3d51 to
1e98ff3
Compare
…ctions in ServiceList
…ality in ServiceNew component
…egrations" card and improve service filtering logic
…ctions and enhancing modal content layout
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Issue:
Screenshots / Recordings
Testing
yarn testoryarn test -u(if you need to regenerate snapshots)yarn formatyarn lintPR Checklist
.cursor/rules)feat(service): add new Terraform service) - required for semantic-release